﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XF.Meeting.Entity.CommonEntity;
using XF.Meeting.Entity.CommonEntity.wx;

namespace XF.Sugar.IService
{
   public interface IBPMService
    {
        Task<string> ApproveClose(string strBTID, string strBOID, int iProcInstID, string eProcessInstanceResult, string strComment, DateTime dtTime);
        Task<string> Audit(string strBTID, string strBOID, int iProcInstID, string strStepName, string strApproverId, string eAction, string strComment, System.DateTime dtTime);
        Task<string> CreateResult(string strBTID, string strBOID, int iProcInstID, string bSuccess, string procURL, string strMessage);
        Task<bool> UpdateBusinessData(string strBTID, string strBOID, int iProcInstID, string strStepName, string strApproverId, string strXML, System.DateTime dtTime);
        Task<bool> WriteBusinessDataToBPM(string bsid, string btid, string boid, string bsxml, string procInstID, string userid,string processUrl,int proType,int id);
        Task<string> DoInvalid(string bsid, string btid, string boid, string procInstID, string userid, string invalidComment);
        Task<BPMConfig> GetBPMCONFIG(int CInfoId,int type);
        Task<WxConfig> GetWXCONFIG();
    }
}
